module.exports = function(sequelize){
    var Sequelize = require('sequelize');
    var Nurse = sequelize.define('nurse',{
        nName:{
            type:Sequelize.STRING,
            primaryKey:true,
            allowNull:false
        },
        nUserNum:{
            type:Sequelize.STRING,
            allowNull:false
        },
        nPassword:{
            type:Sequelize.STRING,
            allowNull:false
        },
        nSex:{
            type:Sequelize.STRING
        },
        nDeptBelong:{
            type:Sequelize.STRING
        }
    },{
        freezeTableName: true,
        timestamps: false
    });
    return Nurse;
};